package com.flyoil.petromp.entity.entity_service;

import com.flyoil.petromp.base.BaseEntity;
import com.flyoil.petromp.entity.entity_order.OrderFilesEntity;
import com.flyoil.petromp.entity.entity_order.OrderSignatureEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/12/1 0001.
 * 供应商物品详情的实体类
 */

public class ProjectMessageEntity extends BaseEntity {

    /**
     * data : {"id":0,"model":"string","name":"string","pictures":[{"id":0,"name":"string","previewer":"string","url":"string"}],"sn":"string","supplierList":["string"],"transformStatusLabel":"string","unit":"string"}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 0
         * model : string
         * name : string
         * pictures : [{"id":0,"name":"string","previewer":"string","url":"string"}]
         * sn : string
         * supplierList : ["string"]
         * transformStatusLabel : string
         * unit : string
         */

        private int id;
        private int applicantId ;//申请人
        private String model;
        private String name;
        private String sn;
        private String unit;
        private List<OrderFilesEntity> pictures;
        private List<String> supplierList;
        private String transformStatusLabel = "";//单据流转状态：流转中、已完成、待撤销、已冻结
        private String confirmStatusLabel = "";//单据审核状态：待审批,已审批,已驳回待撤销,已撤销
        private List<OrderSignatureEntity> confirmLogs;

        public int getApplicantId() {
            return applicantId;
        }

        public void setApplicantId(int applicantId) {
            this.applicantId = applicantId;
        }

        public String getConfirmStatusLabel() {
            return confirmStatusLabel;
        }

        public void setConfirmStatusLabel(String confirmStatusLabel) {
            this.confirmStatusLabel = confirmStatusLabel;
        }

        public List<OrderSignatureEntity> getConfirmLogs() {
            return confirmLogs;
        }

        public void setConfirmLogs(List<OrderSignatureEntity> confirmLogs) {
            this.confirmLogs = confirmLogs;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getTransformStatusLabel() {
            return transformStatusLabel;
        }

        public void setTransformStatusLabel(String transformStatusLabel) {
            this.transformStatusLabel = transformStatusLabel;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public List<OrderFilesEntity> getPictures() {
            return pictures;
        }

        public void setPictures(List<OrderFilesEntity> pictures) {
            this.pictures = pictures;
        }

        public List<String> getSupplierList() {
            return supplierList;
        }

        public void setSupplierList(List<String> supplierList) {
            this.supplierList = supplierList;
        }


    }
}
